package com.example.service;

import com.example.entity.authority.SystemRole;
import com.example.ext.entity.ExtSystemRole;

import java.util.List;
import java.util.Map;

/**
 * Created by youkun on 2017/8/13.
 */
public interface SystemRoleService {


    public Map<String,Object> queryList(ExtSystemRole systemRole);

    public Map<String,Object> add(ExtSystemRole systemRole);

    public Map<String,Object> update(ExtSystemRole systemRole);

    public Map<String,Object> deleteById(List<String> ids);

    public Map<String,Object> queryById(String id);

    public Map<String,Object> findByOwnerOrgList(String owenOrg);

    public Map<String,Object> findListByUserId(String userId);

    public Map<String,Object> queryListAll(ExtSystemRole c);

    public Map<String,Object> queryByRoleTypeId(String roleTypeId);

    public Map<String,Object> queryByPartyTypeList(String partyId);

}
